package com.anche.cywebnew.Pojo.systemManager;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

@Data
public class SysRole {

    private String id;
    private String name;
    @NotEmpty(message = "专题名不能为空")
    @Length(min = 1, max = 20, message = "专题名1-20个字符之间")
    private String seq;
    private String description;
    private String status;
    private String pid;
    private String type;
}
